const unsigned char pic[32*32*3]={\
 96,120,142,  94,122,139,  93,124,139,  95,122,142,  89,113,135,  99,125,142, 106,132,144, 108,130,142, 108,123,139, 109,120,134, 103,119,131,  96,120,138,  91,121,150,  92,120,155, 107,129,154, 112,131,139, 102,128,135, 102,128,140, 107,132,148, 107,131,149,  99,124,140,  97,123,139,  96,122,138,  90,115,135,  86,110,134,  87,110,136,  88,111,137,  86,110,132,  84,109,129,  85,109,131,  87,111,135,  87,108,135, 
 90,117,143,  85,116,137,  85,118,138,  87,118,143,  82,112,139,  88,120,143,  91,124,143,  92,124,143,  94,118,140, 105,127,145, 105,130,146,  83,116,136,  78,117,149,  79,117,152,  95,129,153, 101,131,142, 101,126,136,  98,121,136, 100,122,140, 101,125,143,  99,123,141,  96,121,137,  93,119,135,  89,115,132,  84,108,130,  90,114,138,  90,114,138,  84,109,129,  81,107,124,  88,114,131,  92,116,138,  89,113,137, 
 84,114,143,  81,115,139,  83,120,142,  84,119,145,  78,112,142,  79,113,142,  75,113,137,  79,117,141,  83,116,142,  99,127,151, 107,139,158,  83,122,144,  83,127,158,  82,124,159,  93,134,157, 107,143,153, 111,132,147, 105,125,142, 102,121,142, 102,123,145, 101,122,143,  93,118,134,  90,115,131,  90,116,133,  90,115,135,  87,111,133,  86,111,131,  84,113,128,  85,112,126,  87,114,128,  89,115,131,  87,112,132, 
 88,118,143,  82,114,137,  85,118,138,  86,118,141,  91,121,148,  94,128,152,  83,121,145,  83,120,146,  96,126,153, 109,135,159, 124,150,167, 103,135,154, 103,138,164, 100,136,166, 102,133,154, 108,137,146, 110,128,145, 105,122,143, 101,117,140,  98,116,139,  94,115,136,  88,111,127,  85,111,125,  90,115,131, 104,130,147,  97,123,140,  93,119,135,  91,120,134,  87,118,127,  84,115,124,  85,114,128,  88,117,132, 
 95,124,145,  89,121,140,  89,122,138,  90,120,139,  96,123,143,  98,127,148,  93,124,145,  91,122,147, 101,126,152, 117,135,158, 135,151,167, 118,136,153, 111,133,158, 117,139,167, 108,129,150, 101,119,130, 101,116,135,  98,112,134,  93,109,132,  94,110,133,  93,113,131,  89,112,127,  90,114,126,  93,119,133, 104,130,146, 110,136,152, 109,135,151,  97,125,136,  84,116,122,  87,118,127,  93,123,134,  93,122,137, 
 85,116,139,  83,114,135,  88,120,139,  93,121,138,  94,118,136,  90,114,132,  92,119,139,  93,121,145, 104,127,153, 117,134,155, 136,149,165, 125,140,156, 116,136,161, 123,144,172, 114,135,162, 106,126,144, 102,118,134,  98,113,132,  95,109,131,  95,112,133,  98,116,133,  97,119,131,  96,121,131,  97,121,133,  92,118,132, 105,130,146, 110,137,151, 101,129,140,  94,123,132,  99,127,138, 102,129,143,  98,124,141, 
 84,114,141,  79,110,135,  85,116,137, 100,126,143,  96,118,130,  82,104,116,  96,122,136, 110,135,155, 112,136,156, 120,138,155, 132,148,160, 120,139,154, 115,139,161, 108,138,167, 100,132,161,  96,129,155, 105,122,135,  98,114,130,  95,111,128,  94,112,129,  93,112,127,  93,115,126,  95,118,126,  94,119,129,  88,111,126,  92,117,133, 102,127,143, 109,135,149, 108,134,146, 104,130,144, 100,124,142,  96,119,141, 
 81,110,137,  81,108,134,  91,116,136,  97,116,129,  68, 82, 88,  39, 52, 54,  74, 89, 92, 110,128,135, 132,150,157, 142,157,160, 147,161,160, 123,142,145, 121,148,162, 107,144,166,  96,137,162,  87,131,155, 103,122,130,  94,111,124,  91,107,123,  89,108,123,  84,103,116,  84,107,115,  92,115,123,  96,118,129,  87,110,125,  88,110,128,  98,120,138, 107,130,146, 106,129,144,  99,119,136,  93,112,133,  92,109,135, 
 83,108,134,  80,104,128,  89,109,127, 104,118,124,  86, 92, 87,  43, 45, 33,  73, 75, 63, 126,130,119, 156,160,149, 169,172,157, 161,164,148, 126,134,123, 122,140,139, 116,145,152, 115,150,164, 103,142,157, 110,129,137, 102,119,132,  90,109,124,  87,106,121,  87,106,119,  86,107,115,  87,110,118,  88,110,121,  89,110,125,  88,108,126,  95,115,133, 108,126,143, 102,121,136,  91,109,126,  94,111,132,  99,114,140, 
 93,117,141,  91,115,139,  90,110,127, 113,124,128, 114,114,102,  93, 86, 66, 133,122,100, 138,127,105, 172,162,138, 193,181,153, 199,187,159, 144,135,115,  94, 96, 84, 108,121,119, 125,145,150, 116,139,147, 115,133,144, 104,123,136,  96,114,131,  95,113,130,  92,111,126,  85,105,116,  84,105,113,  87,107,118,  88,107,122,  91,108,127, 102,120,137, 117,133,149, 111,128,141,  98,114,130, 103,117,136, 114,127,149, 
 85,109,131,  88,112,136,  93,115,133, 113,125,129, 113,113, 99, 124,114, 90, 143,129,101, 152,135,108, 191,173,142, 190,169,137, 221,200,169, 186,169,143, 121,111, 93, 159,160,150, 163,169,168, 137,146,150, 122,139,152, 117,133,149, 105,121,138,  90,105,124,  84,103,118,  87,106,119,  87,107,118,  83,102,115,  91,110,125,  99,115,132, 104,120,136, 110,127,140, 109,125,137, 102,118,130, 101,116,132, 102,116,134, 
 96,116,127,  89,109,126,  95,114,129, 116,128,130, 137,138,122, 143,132,105, 181,165,136, 196,178,147, 183,167,131, 171,152,115, 188,167,135, 188,169,142, 157,146,124, 231,229,211, 220,224,213, 146,152,147, 115,131,143, 116,131,147, 113,127,145,  98,113,132,  85,101,118,  81, 98,111,  84,102,113,  90,107,120,  90,106,122,  97,113,130,  95,111,127,  94,110,122,  98,116,123,  99,117,124,  97,114,123,  92,108,121, 
126,131,122, 115,123,122, 113,122,125, 128,136,126, 153,152,126, 178,166,132, 201,182,147, 181,165,129, 150,134, 97, 151,136, 97, 176,160,124, 177,161,132, 163,155,126, 225,224,196, 178,181,159, 113,116,100,  98,114,121, 107,121,133, 117,130,146, 111,124,140,  98,113,129,  92,108,120,  87,103,115,  87,104,117,  87,103,119,  92,108,125,  89,106,119,  88,107,115,  89,108,113,  88,107,112,  89,107,114,  91,108,117, 
200,191,157, 171,164,144, 121,120,106, 152,151,130, 161,155,120, 170,156,114, 169,150,112, 175,157,120, 176,164,124, 130,118, 78, 119,104, 71, 134,120, 91, 140,132,102, 150,147,116, 103,103, 73,  96, 94, 70, 102,115,117, 109,121,127, 113,125,135, 104,116,128,  97,111,123, 102,117,126,  97,114,123,  95,111,123,  96,112,128, 103,119,136, 101,117,133,  95,113,124,  91,110,117,  89,109,114,  90,109,117,  88,106,117, 
225,206,155, 190,176,140, 111,106, 81,  94, 91, 63, 153,146,107, 221,207,165, 205,187,150, 187,170,137, 209,197,163, 171,160,128, 128,113, 87, 117,100, 79, 107, 95, 71, 106, 98, 69, 123,114, 87, 109, 96, 74,  58, 72, 68,  64, 76, 76,  83, 94, 98,  92,103,111,  94,107,115,  96,110,116,  93,109,116,  99,115,127, 102,117,133, 108,124,141, 107,123,139, 100,120,131,  97,118,126,  99,121,127, 100,121,129,  91,110,123, 
227,207,149, 202,188,146, 127,121, 92, 139,137,107, 191,185,148, 241,230,192, 234,216,185, 218,203,177, 214,203,176, 176,164,140, 174,158,141, 150,133,120, 113, 97, 81, 116,102, 80, 155,138,117, 147,127,110,  73, 86, 78,  63, 74, 71,  61, 73, 73,  63, 74, 78,  76, 88, 92,  92,107,110,  92,108,114,  94,111,120,  95,110,126,  95,111,128,  95,113,130,  98,117,130,  96,117,125,  95,116,124,  97,117,128,  93,112,125, 
227,197,172, 196,172,144, 147,130, 97, 183,172,134, 188,180,140, 191,182,139, 195,186,143, 179,168,130, 166,154,118, 132,119, 87, 142,123, 96, 155,133,108, 113, 93, 68, 106, 94, 66, 162,158,129, 165,168,136, 134,123,126,  98,102,113,  81, 96,112,  82, 88, 99,  82, 77, 76,  88, 87, 77,  91,105,101,  94,112,119,  99,109,126, 101,110,123, 101,121,126,  84,111,115,  95,109,121, 103,109,122,  96,110,116,  88,115,111, 
213,190,158, 184,165,132, 141,132, 94, 126,122, 81, 134,131, 87, 178,172,129, 193,185,145, 189,182,143, 209,200,166, 147,137,107, 123,109, 81, 143,125,102,  97, 78, 57,  76, 62, 40, 168,162,139, 178,176,152, 116,109,114,  86, 96,106,  84,107,122, 101,114,122,  98,100, 94, 101,106, 91,  82,104, 92,  84,109,113,  87,103,116,  96,105,118, 106,119,127,  88,107,114,  87,103,116,  99,108,122,  89,107,114,  84,113,110, 
194,176,139, 187,176,138, 151,147,106, 153,155,113, 180,182,140, 229,230,188, 237,235,194, 244,242,202, 228,226,191, 187,184,153, 183,176,149, 187,174,152, 160,146,127, 135,120,104, 181,170,156, 182,175,160, 124,121,123,  84,100,107,  84,111,121,  97,114,117, 105,106, 96, 102,108, 89,  82,102, 89,  83,111,111,  93,109,121,  99,103,114, 114,116,126, 108,117,126,  94,107,121,  88,104,120,  88,111,119,  81,111,112, 
171,152,117, 165,153,117, 154,154,114, 197,205,164, 204,214,171, 197,207,164, 188,197,154, 175,183,142, 126,135, 95, 102,113, 75, 130,137,104, 130,132,103, 144,140,116, 138,132,113, 136,132,114, 155,150,135, 122,119,111,  92,103,101,  91,107,113, 106,109,113, 111, 97, 91,  76, 65, 51,  87, 93, 82,  94,111,108, 115,124,128, 126,120,125, 118,110,111, 134,133,135, 104,116,126,  86,108,120,  88,114,126,  99,127,134, 
141,117, 89, 132,119, 87, 114,116, 80, 103,119, 78, 112,135, 90, 108,131, 86, 101,125, 77,  72, 95, 50,  55, 80, 36,  30, 54, 12,  38, 61, 23,  39, 56, 23,  47, 59, 29,  50, 59, 32,  52, 61, 35,  64, 73, 47,  85, 83, 59,  87, 89, 77,  87, 85, 85, 103, 83, 88, 113, 77, 77,  87, 50, 46, 120,100, 95, 104, 96, 96, 129,121,121, 132,116,109, 116, 99, 86, 145,136,126,  93,101,100,  94,116,122,  98,120,131, 110,130,141, 
126, 98, 74, 142,128, 99, 103,110, 73,  50, 76, 30,  74,112, 60,  91,134, 77,  82,123, 66,  52, 91, 39,  43, 81, 33,  25, 64, 19,  21, 56, 16,  22, 55, 18,  23, 50, 16,  29, 53, 19,  36, 58, 23,  30, 52, 17,  52, 56, 20,  53, 50, 29,  56, 40, 34,  59, 24, 28,  77, 28, 30, 106, 57, 55, 111, 73, 69,  74, 47, 43,  86, 64, 58,  83, 58, 42,  85, 61, 39,  96, 83, 61,  80, 85, 70,  98,113,109,  97,112,114,  97,108,112, 
137,112, 86, 141,130, 98,  97,112, 68,  53, 90, 34,  46, 98, 34,  49,104, 35,  48,101, 34,  35, 83, 24,  36, 82, 30,  17, 60, 17,  13, 54, 17,  18, 52, 21,  21, 52, 21,  25, 52, 18,  27, 54, 15,  33, 60, 20,  64, 73, 33,  55, 51, 23,  59, 37, 25,  56, 22, 16,  61, 25, 15, 117, 80, 66, 101, 66, 53,  66, 33, 24,  57, 29, 18,  66, 39, 19,  71, 46, 20,  66, 49, 22, 117,114, 93, 123,133,117, 112,120,109, 126,129,120, 
151,129,101, 139,131, 94,  95,111, 63,  40, 79, 17,  37, 90, 17,  36, 89, 15,  43, 90, 21,  50, 88, 28,  37, 71, 24,  14, 45,  8,  19, 44, 16,  18, 40, 16,  20, 39, 14,  29, 44, 16,  32, 45, 13,  40, 54, 18,  55, 62, 25,  68, 59, 32,  56, 33, 17,  47, 27, 10,  52, 38, 15, 121,109, 81, 130,110, 85,  76, 52, 32,  62, 37, 21,  63, 39, 19,  67, 43, 19,  71, 54, 28, 120,115, 90, 122,128,105, 119,124,103, 136,137,117, 
113, 92, 65, 104, 95, 61,  78, 89, 43,  49, 77, 18,  53, 85, 20,  58, 86, 20,  60, 81, 18,  59, 71, 19,  41, 47,  6,  28, 32,  3,  26, 27,  7,  27, 25,  7,  36, 30, 11,  42, 34, 11,  42, 31,  4,  51, 40, 10,  51, 40, 10,  55, 33,  8,  70, 44, 27,  75, 62, 40,  76, 81, 49, 159,167,130, 175,173,138, 100, 88, 60,  65, 48, 27,  66, 47, 26,  73, 52, 30,  65, 49, 26,  71, 67, 43,  87, 94, 73,  88, 95, 74,  97, 98, 78, 
 67, 46, 25,  62, 50, 22,  61, 61, 25,  60, 65, 20,  86, 91, 40, 104,100, 49, 105, 89, 42,  88, 65, 27,  68, 44, 14,  68, 44, 22,  62, 39, 23,  64, 38, 24,  67, 41, 25,  70, 40, 21,  74, 42, 19,  80, 46, 22,  73, 37, 13,  66, 29,  9, 106, 73, 57, 163,150,128, 171,177,146, 195,206,168, 201,201,165, 180,170,140, 160,147,121, 150,134,111, 134,116, 93,  96, 83, 61,  70, 72, 52,  67, 80, 64,  60, 71, 61,  76, 78, 72, 
 59, 44, 25,  64, 51, 29,  56, 47, 20,  52, 41,  9,  62, 43, 10, 110, 79, 46, 106, 65, 33,  88, 43, 16,  91, 49, 26,  93, 57, 39,  79, 46, 30,  74, 43, 28,  75, 42, 27,  73, 37, 21,  81, 42, 27,  82, 42, 24,  87, 41, 23,  86, 43, 28,  66, 33, 18,  70, 55, 36,  87, 86, 60, 113,111, 80, 129,120, 87, 156,142,113, 168,155,129, 169,153,130, 162,145,126, 103, 95, 78,  46, 56, 43,  47, 68, 60,  52, 65, 67,  62, 64, 72, 
 86, 81, 56,  83, 78, 53,  80, 73, 46,  65, 52, 26,  66, 41, 15,  87, 49, 25,  79, 32, 11,  69, 21,  3,  86, 46, 28,  84, 51, 35,  60, 35, 19,  52, 29, 14,  52, 28, 16,  48, 21, 11,  52, 25, 15,  50, 23, 13,  69, 34, 21,  57, 25, 14,  53, 31, 19,  65, 55, 38,  70, 62, 39,  97, 86, 56, 114, 96, 65, 110, 93, 66, 120,106, 84, 131,116,100, 125,111, 99,  74, 69, 60,  39, 52, 44,  55, 77, 75,  58, 72, 78,  65, 65, 79, 
 99,100, 68,  90, 93, 61,  79, 79, 49,  58, 52, 23,  64, 47, 21,  77, 48, 27,  65, 32, 12,  60, 27, 11,  53, 27, 11,  47, 31, 15,  35, 24, 10,  32, 22, 12,  34, 25, 16,  32, 22, 15,  31, 22, 18,  29, 23, 18,  33, 19, 13,  37, 27, 20,  44, 40, 29,  62, 62, 46,  88, 84, 60, 130,117, 91, 141,122, 95, 121,105, 82, 115,104, 90, 110,100, 93, 114,106,106,  87, 88, 86,  55, 66, 63,  63, 80, 77,  66, 75, 78,  62, 62, 68, 
104,104, 68, 100,101, 67,  78, 82, 47,  56, 57, 25,  61, 55, 26,  78, 67, 40,  62, 46, 23,  49, 34, 15,  41, 31, 13,  35, 30, 15,  33, 30, 16,  30, 28, 18,  28, 26, 18,  25, 26, 17,  17, 24, 17,  17, 25, 18,  26, 30, 24,  27, 31, 25,  30, 38, 28,  45, 52, 39,  69, 71, 52, 104, 99, 78, 113,102, 82,  94, 86, 69,  78, 75, 67,  72, 73, 71,  73, 77, 78,  68, 73, 71,  65, 73, 66,  64, 73, 63,  55, 62, 55,  50, 51, 47, 
125,114, 84, 105, 97, 67,  83, 81, 50,  56, 59, 27,  62, 65, 33,  62, 62, 32,  57, 54, 26,  44, 42, 18,  31, 30, 10,  30, 27, 12,  35, 29, 16,  37, 31, 20,  37, 31, 20,  35, 35, 21,  30, 40, 24,  26, 40, 22,  28, 36, 25,  32, 38, 27,  36, 41, 32,  41, 48, 41,  51, 55, 49,  76, 77, 68,  82, 80, 70,  66, 63, 55,  56, 60, 55,  49, 63, 59,  57, 72, 68,  57, 68, 58,  57, 62, 47,  58, 60, 41,  63, 66, 50,  50, 55, 40, 
129,105, 83, 111, 94, 68,  86, 78, 49,  68, 69, 37,  62, 67, 35,  69, 74, 43,  61, 65, 36,  45, 48, 23,  37, 36, 16,  38, 34, 16,  43, 34, 20,  52, 39, 25,  51, 41, 24,  49, 45, 26,  45, 51, 28,  31, 44, 18,  37, 43, 26,  38, 38, 24,  40, 38, 30,  42, 43, 41,  41, 46, 47,  52, 57, 58,  59, 61, 61,  54, 55, 53,  43, 52, 49,  37, 58, 50,  39, 63, 51,  46, 62, 44,  65, 68, 46,  63, 61, 37,  60, 61, 41,  38, 46, 29, 
};
